Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix IE11 by pinning top-level core-js node module to 2.5.3 #32159

Merged
merged 3 commits into from
Mar 4, 2019

Conversation

chandlerprall
Copy link
Contributor

@chandlerprall chandlerprall commented Feb 27, 2019

Summary

Fixes #31693

The addition of storybook to canvas updated the version of core-js at the top-level node_modules from 2.5.3 to 2.5.7 which, somehow, breaks IE11. This PR pins core-js to 2.5.3 and is much more of a patch than resolving the issue.

Other things I tried, which had no effect:

  • unifying core-js version - I updated yarn.lock so everything used 2.5.7 (except for one dependency which needs on v1), also tried latest 2.6.4
  • using yarn's resolutions to pin core-js at 2.5.3

It isn't that core-js isn't compatible with IE11, I can bring core-js's build into a new project and shim away. There is some underlying conflict without our dependencies that gets very, very unhappy if this setup changes.

Checklist

Use strikethroughs to remove checklist items you don't feel are applicable to this PR.

For maintainers

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@Kerry350
Copy link
Contributor

Kerry350 commented Mar 4, 2019

I ended up trying this by way of testing #31960. Fixed master in IE11 for me 👍

@epixa
Copy link
Contributor

epixa commented Mar 4, 2019

LGTM

Let's get master unbroken in IE11

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@chandlerprall chandlerprall merged commit 8b0e3a7 into elastic:master Mar 4, 2019
@chandlerprall chandlerprall deleted the ie11-fix-storybook branch March 4, 2019 19:38
@chandlerprall chandlerprall restored the ie11-fix-storybook branch March 4, 2019 20:20
chandlerprall added a commit to chandlerprall/kibana that referenced this pull request Mar 4, 2019
…2159)

* Fix IE11 by pinning top-level core-js node module to 2.5.3

* Re-force core-js in yarn.lock
@chandlerprall chandlerprall deleted the ie11-fix-storybook branch March 4, 2019 20:40
@epixa epixa added the non-issue Indicates to automation that a pull request should not appear in the release notes label Mar 4, 2019
chandlerprall added a commit that referenced this pull request Mar 4, 2019
…32424)

* Fix IE11 by pinning top-level core-js node module to 2.5.3

* Re-force core-js in yarn.lock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
non-issue Indicates to automation that a pull request should not appear in the release notes v7.2.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants